package com.ctshk.rpc.order.tour.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel(value="系列团订单收款使用积分Req", description="系列团订单收款使用积分Req")
public class SeriesOrderCollectionUsePointsReq implements Serializable {

    @NotNull(message = "订单ID不能为空")
    @ApiModelProperty(value = "订单ID",required = true)
    private Long orderId;

    @ApiModelProperty(value = "团期ID")
    private Long scheduleId;

    @NotNull(message = "积分不能为空")
    @ApiModelProperty(value = "积分",required = true)
    private Long points;

    @NotNull(message = "游客ID不能为空")
    @ApiModelProperty(value = "游客ID",required = true)
    private Long touristId;

    @ApiModelProperty(value = "用户Id")
    private Long userId;

}
